<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/static/layuimini/lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="/static/layuimini/css/public.css" media="all">
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <table lay-filter="demo">
            <thead>
            <tr>
                <th lay-data="{field:'username', width:300}">公众号接口通信配置</th>

                <th lay-data="{field:'sign'}"></th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>URL(服务器地址)</td>

                <td>{$mp['url']}</td>
            </tr>
            <tr>
                <td>Token(令牌)</td>

                <td>{$mp['valid_token']}</td>
            </tr>
            <tr>
                <td>EncodingAESKey(消息加解密密钥)</td>

                <td>{$mp['encodingaeskey']}</td>
            </tr>
            <tr>
                <td>IP白名单</td>

                <td>127.0.0.1</td>
            </tr>
            </tbody>
        </table>
    </div>
</div>
<script src="/static/layuimini/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>

<script>
    layui.use(['layer', 'table'], function(){
        var table = layui.table;
        //转换静态表格
        table.init('demo', {
            skin: 'line' //行边框风格


            ,height: 315 //设置高度
            ,limit: 10 //注意：请务必确保 limit 参数（默认：10）是与你服务端限定的数据条数一致
            //支持所有基础参数
        });

    });
</script>
</body>

</html>